<template>
  <div id="app">
    <p>parent</p>  <WelcomeItem :title="mes" :name="names"/>
  </div>
</template>
<script>
 import WelcomeItem from './WelcomeItem.vue';
export default{
  data(){
    return{
      mes:"数据",
      names:[one,two,three]
    }
  },
  components:{
      WelcomeItem
    }
}

  </script>